<?php
class Projects extends CI_Model {
    
    function __construct() {
        parent::__construct();
        $this->load->database();
    }
    
    function add($input){
        $this->db->insert('projects',$input);
    }
}
?>